#include "bsp_norflash.h"


extern SPI_HandleTypeDef hspi2;


uint8_t usSpi2ReadWriteByte(uint8_t _data)
{
	uint8_t usRxData = 0;
	HAL_SPI_TransmitReceive(&hspi2,&_data,&usRxData,1,1000);
	
	return usRxData;
}

//uint8_t usNorFlashReadData(uint32_t _addr)
//{
//	NORFLASH_CS(0);
//	
//	
//}






















/*Last Line copyright by Liu Xin*/
